package com.zbkj.common.request;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 后台管理员表
 +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_system_admin")
@ApiModel(value="SystemAdminAgentAddRequest对象", description="后台管理员表")
public class SystemAdminAgentAddCityRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("主键ID(修改时必填)")
    private Integer id;

    @ApiModelProperty("代理等级（0:无，1:省,2:市,3:区/县，4:乡/镇，5:街道，6:小区）")
    @NotNull(message = "代理等级不能为空")
    private Integer agentLevel;

    @ApiModelProperty(value = "所在省")
    private String province;

    @ApiModelProperty(value = "省份ID")
    private String provinceId;

    @ApiModelProperty(value = "所在市")
    private String city;

    @ApiModelProperty(value = "城市id")
    private String cityId;

    @ApiModelProperty(value = "所在区/县")
    private String district;

    @ApiModelProperty(value = "区/县id")
    private String districtId;

    @ApiModelProperty(value = "所在街道")
    private String street;

    @ApiModelProperty(value = "所在街道id")
    private String streetId;

    @ApiModelProperty(value = "所在小区")
    private String community;

    @ApiModelProperty(value = "所在社区/村")
    private String tribe;

}
